package com.hx.vending.bean.entity;

import com.hx.vending.bean.Equipment;

/**
 * Created by Administrator on 2019/1/5.
 * 线上订单设备关联
 */
public class OnlineOrderEquipment{

    //id
    private Integer OnlineOrderId;

    //交易单号
    private String OnlineOrderDealNumber;

    //商户单号（自己生成）
    private String OnlineOrderMerchantNumber;

    //金额
    private Double OnlineOrderMoney;

    //时间
    private String OnlineOrderTime;

    //状态，0未支付，1支付成功  2支付失败
    private Integer OnlineOrderState;

    //类型（1微信   2支付宝）
    private String OnlineOrderType;

    //设备ID
    private String OnlineOrderEquipmentId;

    //用户标识openid
    private String OnlineOrderOpenid;

    /**
     * 设备id
     */
    private String equipmentId;

    /**
     * 备注
     */
    private String equipmentRemarks;

    /**
     * 场地id
     */
    private Integer equipmentFieldId;

    /**
     * 注册时间
     */
    private String equipmentCreateTime;

    /**
     * 用户所属
     */
    private Integer equipmentUserId;

    /**
     * 设备状态（1.在线 2.离线）
     */
    private String equipmentState;

    /**
     * 信号强度
     */
    private Integer equipmentSignal;

    /**
     * 离线时间
     */
    private String equipmentOfflineTime;

    /**
     * 设备二维码
     */
    private String equipmentQrcode;

    /**
     * 设备转移状态
     */
    private String equipmentTransferState;

    /**
     * 模块硬件故障
     */
    private String equipmentModuleFault;

    /**
     * 设备编号
     */
    private Integer equipmentNumber;

    /**
     * （1.正在上分 2.完成）
     */
    private Integer equipmentOnlineOrder;

    /**
     * 设备故障码
     */
    private String equipmentFaultCode;

    /**
     * （0.空闲 1.正在游戏 2.正在设置画面 3.故障）
     */
    private String equipmentCurrentState;


    /**
     * 模板id
     */
    private Integer equipmentModelId;

    private String equipmentType;

    /**
     * 轮播图片
     */
    private String equipmentPicture;

    /**
     * 轮播视频
     */
    private String equipmentVideo;


    public Integer getOnlineOrderId() {
        return OnlineOrderId;
    }

    public void setOnlineOrderId(Integer onlineOrderId) {
        OnlineOrderId = onlineOrderId;
    }

    public String getOnlineOrderDealNumber() {
        return OnlineOrderDealNumber;
    }

    public void setOnlineOrderDealNumber(String onlineOrderDealNumber) {
        OnlineOrderDealNumber = onlineOrderDealNumber;
    }

    public String getOnlineOrderMerchantNumber() {
        return OnlineOrderMerchantNumber;
    }

    public void setOnlineOrderMerchantNumber(String onlineOrderMerchantNumber) {
        OnlineOrderMerchantNumber = onlineOrderMerchantNumber;
    }

    public Double getOnlineOrderMoney() {
        return OnlineOrderMoney;
    }

    public void setOnlineOrderMoney(Double onlineOrderMoney) {
        OnlineOrderMoney = onlineOrderMoney;
    }

    public String getOnlineOrderTime() {
        return OnlineOrderTime;
    }

    public void setOnlineOrderTime(String onlineOrderTime) {
        OnlineOrderTime = onlineOrderTime;
    }

    public Integer getOnlineOrderState() {
        return OnlineOrderState;
    }

    public void setOnlineOrderState(Integer onlineOrderState) {
        OnlineOrderState = onlineOrderState;
    }

    public String getOnlineOrderType() {
        return OnlineOrderType;
    }

    public void setOnlineOrderType(String onlineOrderType) {
        OnlineOrderType = onlineOrderType;
    }

    public String getOnlineOrderEquipmentId() {
        return OnlineOrderEquipmentId;
    }

    public void setOnlineOrderEquipmentId(String onlineOrderEquipmentId) {
        OnlineOrderEquipmentId = onlineOrderEquipmentId;
    }

    public String getOnlineOrderOpenid() {
        return OnlineOrderOpenid;
    }

    public void setOnlineOrderOpenid(String onlineOrderOpenid) {
        OnlineOrderOpenid = onlineOrderOpenid;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentRemarks() {
        return equipmentRemarks;
    }

    public void setEquipmentRemarks(String equipmentRemarks) {
        this.equipmentRemarks = equipmentRemarks;
    }

    public Integer getEquipmentFieldId() {
        return equipmentFieldId;
    }

    public void setEquipmentFieldId(Integer equipmentFieldId) {
        this.equipmentFieldId = equipmentFieldId;
    }

    public String getEquipmentCreateTime() {
        return equipmentCreateTime;
    }

    public void setEquipmentCreateTime(String equipmentCreateTime) {
        this.equipmentCreateTime = equipmentCreateTime;
    }

    public Integer getEquipmentUserId() {
        return equipmentUserId;
    }

    public void setEquipmentUserId(Integer equipmentUserId) {
        this.equipmentUserId = equipmentUserId;
    }

    public String getEquipmentState() {
        return equipmentState;
    }

    public void setEquipmentState(String equipmentState) {
        this.equipmentState = equipmentState;
    }

    public Integer getEquipmentSignal() {
        return equipmentSignal;
    }

    public void setEquipmentSignal(Integer equipmentSignal) {
        this.equipmentSignal = equipmentSignal;
    }

    public String getEquipmentOfflineTime() {
        return equipmentOfflineTime;
    }

    public void setEquipmentOfflineTime(String equipmentOfflineTime) {
        this.equipmentOfflineTime = equipmentOfflineTime;
    }

    public String getEquipmentQrcode() {
        return equipmentQrcode;
    }

    public void setEquipmentQrcode(String equipmentQrcode) {
        this.equipmentQrcode = equipmentQrcode;
    }

    public String getEquipmentTransferState() {
        return equipmentTransferState;
    }

    public void setEquipmentTransferState(String equipmentTransferState) {
        this.equipmentTransferState = equipmentTransferState;
    }

    public String getEquipmentModuleFault() {
        return equipmentModuleFault;
    }

    public void setEquipmentModuleFault(String equipmentModuleFault) {
        this.equipmentModuleFault = equipmentModuleFault;
    }

    public Integer getEquipmentNumber() {
        return equipmentNumber;
    }

    public void setEquipmentNumber(Integer equipmentNumber) {
        this.equipmentNumber = equipmentNumber;
    }

    public Integer getEquipmentOnlineOrder() {
        return equipmentOnlineOrder;
    }

    public void setEquipmentOnlineOrder(Integer equipmentOnlineOrder) {
        this.equipmentOnlineOrder = equipmentOnlineOrder;
    }

    public String getEquipmentFaultCode() {
        return equipmentFaultCode;
    }

    public void setEquipmentFaultCode(String equipmentFaultCode) {
        this.equipmentFaultCode = equipmentFaultCode;
    }

    public String getEquipmentCurrentState() {
        return equipmentCurrentState;
    }

    public void setEquipmentCurrentState(String equipmentCurrentState) {
        this.equipmentCurrentState = equipmentCurrentState;
    }

    public Integer getEquipmentModelId() {
        return equipmentModelId;
    }

    public void setEquipmentModelId(Integer equipmentModelId) {
        this.equipmentModelId = equipmentModelId;
    }

    public String getEquipmentType() {
        return equipmentType;
    }

    public void setEquipmentType(String equipmentType) {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentPicture() {
        return equipmentPicture;
    }

    public void setEquipmentPicture(String equipmentPicture) {
        this.equipmentPicture = equipmentPicture;
    }

    public String getEquipmentVideo() {
        return equipmentVideo;
    }

    public void setEquipmentVideo(String equipmentVideo) {
        this.equipmentVideo = equipmentVideo;
    }

    @Override
    public String toString() {
        return "OnlineOrderEquipment{" +
                "OnlineOrderId=" + OnlineOrderId +
                ", OnlineOrderDealNumber='" + OnlineOrderDealNumber + '\'' +
                ", OnlineOrderMerchantNumber='" + OnlineOrderMerchantNumber + '\'' +
                ", OnlineOrderMoney=" + OnlineOrderMoney +
                ", OnlineOrderTime='" + OnlineOrderTime + '\'' +
                ", OnlineOrderState=" + OnlineOrderState +
                ", OnlineOrderType='" + OnlineOrderType + '\'' +
                ", OnlineOrderEquipmentId='" + OnlineOrderEquipmentId + '\'' +
                ", OnlineOrderOpenid='" + OnlineOrderOpenid + '\'' +
                ", equipmentId='" + equipmentId + '\'' +
                ", equipmentRemarks='" + equipmentRemarks + '\'' +
                ", equipmentFieldId=" + equipmentFieldId +
                ", equipmentCreateTime='" + equipmentCreateTime + '\'' +
                ", equipmentUserId=" + equipmentUserId +
                ", equipmentState='" + equipmentState + '\'' +
                ", equipmentSignal=" + equipmentSignal +
                ", equipmentOfflineTime='" + equipmentOfflineTime + '\'' +
                ", equipmentQrcode='" + equipmentQrcode + '\'' +
                ", equipmentTransferState='" + equipmentTransferState + '\'' +
                ", equipmentModuleFault='" + equipmentModuleFault + '\'' +
                ", equipmentNumber=" + equipmentNumber +
                ", equipmentOnlineOrder=" + equipmentOnlineOrder +
                ", equipmentFaultCode='" + equipmentFaultCode + '\'' +
                ", equipmentCurrentState='" + equipmentCurrentState + '\'' +
                ", equipmentModelId=" + equipmentModelId +
                ", equipmentType='" + equipmentType + '\'' +
                ", equipmentPicture='" + equipmentPicture + '\'' +
                ", equipmentVideo='" + equipmentVideo + '\'' +
                '}';
    }
}
